package com.xhy.feignclient;

import com.xhy.entity.Video;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("videos-module")
public interface VideoFeignService {
    @PostMapping("/video/addVideo")
    public void addVideo(@RequestBody Video video);
}
